package com.modifiertech.lineage.event;

import com.modifiertech.lineage.Lineage;
import net.minecraftforge.client.event.RenderWorldLastEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;

/**
 * @description: default
 * @author: saliencemn
 * @mail: hackingmu@outlook.com
 * @date: 2024/9/20 22:59
 *
 * 该类管理所有仅客户端事件,双端事件不在此处管理(包括双端事件仅在客户端触发的部分)
 *
 *
 */
public class ClientEventHandler {
    public static final ClientEventHandler INSTANCE=new ClientEventHandler();
    private ClientEventHandler(){}

    @SubscribeEvent
    /**事件处理：技能范围按帧渲染
     * 事件类型：Client
     * todo 理论上范围选框的按帧渲染不会有各技能的不同,留有口子允许其个性化
     */
    public void onSkillRangeSelectedRender(RenderWorldLastEvent event) {
        Lineage.proxy.handleOnSkillRangeSelectedRender(event.getPartialTicks());
    }
}
